package Factory;

import domain.*;

public  class beanFactory {

    private beanFactory(){
    }
    /**
     * 生成customer
     * */
    public static customer getCustomer(){
        return  new customer();
    }


    /**
     * 生成flower
     * */
    public static  flower getFlower(){
        return  new flower();
    }


    /**
     * 生成order
     * */
    public static order getOrder(){
        return  new order();
    }

    /**
     * 生成flowerstore
     * */
    public static flowerstore getFlowerstore(){
        return  new flowerstore();
    }


    /**
     *生成订单返列;
     */

    public  static  OrderResult getOrderResult(){return new OrderResult();};

    /**
     * 生成查询订单
     */

    public  static  CorderResult getCorderResult(){return  new CorderResult();};

}
